package com.vodone.v1pin.video.view.vo
{
	[Bindable]
	public class CommentVO
	{
		public function CommentVO()
		{
		}
		private var _username:String;
		
		public var comment:String;
		
		public var stime:Number;
		
		public var timeout:Number;
		
		public var isLocalTime:Boolean = false;

		public function get username():String
		{
			return _username;
		}

		public function set username(value:String):void
		{
			if(null == value)_username = "";
			if(value.length > 4)
			{
				_username = value.substr(0,4) + "*:";
			}
			else if(value.length > 0) 
			{
				_username = value.substr(0,value.length - 1) + "*:";
			}
		}

	}
}